# Define forwarding parameters (modify as needed)
$windowsPort = 8000       # Windows listening port
$wslPort = 80             # WSL2 target port
$ruleName = "WSL2-Port-Forward-$windowsPort"  # Firewall rule name


Remove-NetFirewallRule -DisplayName $ruleName -ErrorAction SilentlyContinue